repo/private: move OstreeRepoAutoTransaction to a boxed type
authorLuca BRUNO <luca.bruno@coreos.com>
Mon, 11 Oct 2021 06:52:25 +0000 (06:52 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Mon, 11 Oct 2021 06:52:25 +0000 (06:52 +0000)
commit8a9737aa6e1819461e3df4d33fb0721d48424893
treec0e9ea39ffa63d842d3c0fa6886b9be808befdb2
parentf4a38376627b0bcfd8c4de49a37002a75aaeffd2
repo/private: move OstreeRepoAutoTransaction to a boxed type

This defines `OstreeRepoAutoTransaction` as a boxed type, in order
to support auto-generating bindings for it.
That first requires adding internal reference-counting to it, to
allow freely copying/freeing references to a single transaction guard.
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c